package com.hkts.naturalgas.performance.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hkts.naturalgas.performance.entity.HkAssessmentPicture;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yck
 * @since 2021-04-08
 */
public interface IHkAssessmentPictureService extends IService<HkAssessmentPicture> {

        /**
         *  分页查询
         * @param bootStrapTable
         * @param hkAssessmentPicture
         * @return
         */
        IPage<HkAssessmentPicture> selectPage(Page<HkAssessmentPicture> page, HkAssessmentPicture hkAssessmentPicture);

        List<HkAssessmentPicture> selectList(HkAssessmentPicture hkAssessmentPicture);

        /*
        * 根据字段名进行保存
        * */
        public  void saveImageByProcessAndItem(String processId,String indexId,List imageList);

        public void updateImageByProcessAndItem(String processId, String indexId, List imageList);

        }